package com.ruoyi.weixin.entity;

import java.util.Date;

import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
/**
 * (Picture)表实体类
 *
 * @author makejava
 * @since 2023-12-26 09:52:28
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("picture")
public class Picture extends PagesResult{
    //ID@TableId
    @TableId(type = IdType.AUTO)
    private Integer id;

    //相册
    private Integer pId;
    //地址
    private String picUrl;
    //描述
    private String psDesc;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    
    private Date updateTime;
    
    private String createBy;

    //0垃圾，1正常
    private Integer lajiId;

    private String updateBy;

   @TableField(exist = false)
    private String tabName;

    @TableField(exist = false)
    private List<String> picList;

}
